**************************************************************************************************************
**	Replication do-file for "Governmment Policies and the Emergence of an Ethnic Dimension in Party Systems"
**	Author: Maayan Mor
**	APPENDIX F
*************************************************************************************************************

clear all
ssc install sutex

/* SET DIRECTORY */

*************************************************
** Descriptive statistics: BASELINE SAMPLE
*************************************************
use "state wide.dta", clear

**		drop those districts in which the Liberals did not compete in some elections
drop if liberal67==. | liberal70==. | liberal73==. 

sutex cathp_64 gap6367_lib gap6770_lib gap6370_lib  gap6373_lib urban DM_t industry monastery paris priest_vicar wittenberg, lab nobs digits(2) key(descriptive_prussia)  replace ///
file("descriptive_prussia.tex") title("Summary Statistics Prussian State Elections (Baseline)") minmax 

*************************************************
** Descriptive statistics: SUBSAMPLE
*************************************************
keep if baseline_sample==0
sutex cathp_64 gap6367_lib gap6770_lib gap6370_lib  gap6373_lib urban DM_t industry monastery paris priest_vicar wittenberg, lab nobs digits(2) key(descriptive_prussia)  replace /// 
file("descriptive_prussia_nbl.tex") title("Summary Statistics Prussian State Elections (subsample)") minmax 

